package com.atguigu.srb.sms.client.falback;

import com.atguigu.srb.sms.client.CoreUserinfoClient;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

@Service
@Slf4j
public class CoreUserInfoClientFallback implements CoreUserinfoClient {
    @Override
    public boolean checkMobile(String mobile) {
        log.error("远程调用失败，服务降级");
        return false; // 手机号不重复
    }
}
